package com.jjy.tools.validation;

import com.jjy.service.impl.UserServiceImpl;

import javax.servlet.http.HttpServletRequest;



public interface Validation {
  String NULL_MESSAGE = "无法获得此数据,请联系管理员!";
  String REQUIRED_MESSAGE = "请输入此必填信息!";
  String FORMAT_MESSAGE = "请输入正确的信息!正确地要求是 : ";
  String EXIST_MESSAGE = "此账号已存在,清重新输入!";
  boolean doValidation(HttpServletRequest request, UserServiceImpl userServiceImpl);
  boolean validateRegex(String regex, String str);
}
